package com.zhixing.web.api.dataobject.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * @author dzh
 * @version 1.0.0.05020
 * <p>project: d-blog</p>
 * <p>created time: 2022/05/02 15:17</p>
 * <p>describe: 返回值包装类</p>
 * <p>remarks: </p>
 **/
@Data
public class ResultVO<T> implements Serializable {

    private static final long serialVersionUID = 3068837394742385883L;

    /**
     * 错误码.
     */
    private Integer code;

    /**
     * 提示信息.
     */
    private String msg;

    /**
     * 具体内容.
     */
    private T data;

    /**
     * 其他数据 Map 类型
     */
    private Map<String, Object> otherData;

    /**
     * 当前时间
     */
    private String time;

}
